package net.neptech.service.impl;

import net.neptech.repository.SampleRepository;
import net.neptech.service.SampleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Author Saya
 * @Date 2025/8/13 11:19
 * @Description 测试用
 **/
@Service
public class SampleServiceImpl implements SampleService {
    @Autowired
    private SampleRepository sampleRepository;
    @Override
    public String getFirstSampleInfo(){
        return sampleRepository.findAll().get(0).getSampleName();
    }
}
